
package Timeline.Core.Level.Fabricas;

import Timeline.Entidade.Atributo.Atributo;
import Timeline.Entidade.Tower;


public class TowerFactory{
    
    private TowerFactory(){}
    
    public static Tower getTower(int id) {
        
        Tower tower = null;
        Atributo atb = null;
        switch(id){
            case 1:
                atb = new Atributo(10, 35, 500, 1600, 0, 20, 100, 0);
                tower = new Tower("Ressource/Object/Tower/tower.png",0, 0, atb,10);
            case 2:
                atb = new Atributo(40, 65, 500, 1600, 0, 20, 100, 0);
                tower = new Tower("Ressource/Object/Tower/tower.png",0, 0, atb, 20);
        }
                
        return tower;
    }
    
}
